package com.zyk.mapper;

import com.zyk.entity.Role;
import com.zyk.entity.RoleResource;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Set;

/**
 * <p>
  * 角色资源 Mapper 接口
 * </p>
 *
 * @author feifeimao
 * @since 2017-11-20
 */
public interface RoleResourceMapper extends BaseMapper<RoleResource> {

    Set<RoleResource> findResourceIdListByRoleId(Long roleId);

     Integer insert(RoleResource roleResource);
}